package com.rran.study.designpattern.behavioral.chain.annotation;

import com.rran.study.designpattern.behavioral.chain.enums.ChainType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = { ElementType.TYPE})
public @interface HandlerChain {

    ChainType chainType();

    boolean isHead() default false;

    String actionName();

    String nextHandler() default "";
}
